Moving routes to routes file