[#3033] - Removed use of clientSessions module as we can just use expres...

...s now. Also added in support for environment variables for config options