Major code refactoring on spriteset modules
Switches to magic mime detection

Adds a default db file for windows