adding a class for support of the database