Add single database connection functionality added, unit test, example added... See merge request !274