added compiler for defin class and skeletons for remaining definitions