pull out environment variables. add in host to mysql session store.

pull out the following environment variables:
* MySQL database variables (host, database, username, password)
* port

add some code to MySQL session store to be able to point to an external host location