added spritesheet class and some methods