Amazon Interview Question

How would you design the control system for an elevator?