Removed class creation redundancy
Added support for ENUMs

There is a bug in the compiler so only global namespace ENUMs work