Elevator project for scala