simplify and cleanup the analytics library
Merge pull request #41 from google/devoncarew_analytics_simplify

simplify and cleanup the analytics library