Adding routes and spliting app into it