Automatic route setup for NodeJS