Got the sprite class working, cleaned up code, added rotation and flip to sprite