initialize elevator to know state and remove test code