Command line mode

Opening new PR to replace #71
@davidfowl @abnanda1 
For the moment, the separate agent/worker logging is a fairly ubiquitous component of the system. At some point, we will need to resolve the distinction between the responsibilities of the agent and the controller but that is beyond the scope of this PR