added routes and setting up navigation