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

...to server.js
why do these routes exist?