refactor log view methods to class
Merge pull request #7 from jbwhite/refactor

refactor log view methods to class