Updated code includes basic movement.