extract interfaces for MainView and ElevatorControl