Amazon interview question

How would you design the control system for an elevator?