Created a configuration API for the database; fixes #DDB-33