set up main loop
made spritesheet class