3/26 end of day commit

Adjusted the workflow of the code to be more sensible than it was.
Added in logging, added Protocol framework.