generalized the factory
updated Readme
Merge pull request #2 from Elexy/master

Generalized the factory into it's own module