Pass routes to the server as a var, resolves #143.