added DBAccessor class