Microsoft interview question

How to design a smart elevator?