allow setting custom db config in item class
completed testing of item class