Square Building and Elevator Tower

How can I get to the square building?
What does pulling the lever by the big pipe segment inside the building do?
What do the wheel and button just outside the square building do?

How can I use the elevator tower that's right next to the square building?
The elevator doesn't work no matter what I do!

Up One Level