Added move function

Added the move function to the controller.