using class-extend

replacing util.inherit with class-extend