new server class - functions/route.js

all possible routes for the server are being set here.
new server class - functions/environment.js

we are going to keep all environmental variables here.