connect to the postgre database service when deployed on appfog. closes
#109