change fields from private to public

change dbobj fields from private to public , and remove get and set
methods