Refactored code to use exports
Merge pull request #42 from jasonerpenbeck/master

Refactored code to use exports