Elevator API and multi-threading simulator