adding support for enums in classes
working on class enum support