Started adding enumerable functions for built in types
code clean up
removed unused code