Auto detecting module type
Merge pull request #24 from chadhietala/auto-detect-type

Auto detecting module type