large refactor; Moved module level code into class; added docstrings, exception handling, and more tests;
added option to specify different path to /proc file system (useful in containers); documentation updates
Merge pull request #3 from cnelson/refactor_and_cleanup

Refactor and cleanup