moved trait functions out of super trait into core
enabled traits on traits on form and class file generation