Example usage of database manager class