Acceleration and movement logic moved into entity class.