added routes and building controller