added db connection utils and sample io class