Merge some pull request from the forked repo and changed the way database settings is set.
Added the documentation for the pull requests and the new way to set connection variables.