set up routes file correctly