Added DatabaseManager class