Merge pull request #5 from ralphtheninja/master

factor out config and only require if needed
1.4.2