Added a new DatabaseRepository class to interact with the database rom our commands.