Completed re-implementation of movement system.