More code organization. Preparing for platformer physics.