selection in factory now via enum
Merge pull request #7 from danielru/enum_selection

selection in factory now via enum