Added mongo database driver
Added automatic configuration resolution and updated tests