Major code refactoring on spriteset modules