Closes #2 - split module lib from config
Merge pull request #12 from EvanSimpson/issue2

split module lib from config