DBManager Class Coded.