refactored the clafer type and finished scoping for children of superclafers