added better handling of environment vars
added go packages for http routing and sessions