expose environmentConfig to route handlers

fixes #48 
Do you want to qualify why it needs to go last?