Added simple elevator state transition.