Move routes to `source` directory instead

Also remove references to localhost by pointing it to the actual host.