Jumping and animation

Also modified the game engine a bit to reset the animation frames..