Added support for enum objects.
Added missing files. Creation of subdirs.
Renamed function to be more in the elisp convention.