Add DatabaseManager class