Added the Building controller

Re-added the building controller for the building page to work.