Added DatabaseManager to handle the database