makes route exports functions to enable router injections, added dotEnv ...

...to server.js