Refactoring the code to make it easier to reason about
Making the tasktracker container cpu configurable
Formatting changes
Merge pull request #6 from mesos/refactoring

Refactoring the code to make it easier to reason about