Implementing Enum name support

With this commit you are able to use the Enum type and Name
Merge pull request #57 from flts/feature/enumbyname

Implementing Enum name support