Create IDatabase interface to allow support for multiple database types (including HashMap and MongoDB)