A bunch of refactoring to clean up code. Adds deceleration effect on landing.