Added the conlroller class for the Elevator