added keyboard controls for physics, state changes to draw() method