[32] refactored docme for better testing and more modularity
Merge pull request #35 from philosowaffle/issue-32

[32] refactored docme for better testing and more modularity