added a separate class for spritesheet