Add Module.factory
Merge pull request #34 from 404d/issue/34.Module-factory

Add Module.factory