Split the functions

update_heading
service_calls
visit_floor