i think i've finished with spritesheet parsing

this is most complex part of this stage of refactoring. everything else
should be easier