Add list of essential packages
Move global vars to a separated place
Rewrite init of package manager
Better package list initialization
Add some global vars
Automated some vars
Remove unused stuff