started working on database manager class