adding routes and editing application bootstrap