Improve OS detection
Refactor storing packages
Improve cosmetics
Extend use of tags