seeting up routes and run the application