add BClass, extended class of AClass