Add main controller and routes