Refactor of activity module to make it unit testable
Added unit tests for activity module
Merge pull request #7 from wilsonpage/diego-refactor

Unit tested activity module