adds analyze controller, routes and composite view