fix mem realloc bug.
read package lists to an array. use bitmask to associate repo with package
fix segfault bug in is_version. fix performance bug (realloc)
free proper pointer
free repo list properly
version string validation simplification to make it faster. regex was way too slow
added missing packages.c .h files
repositores and packages in arrays instead of llist
load package list to memory
corrct order of repositories