Introduce DBManager class