added recordClasses option for db widget, ref #90