Implement the Database manager for the application.