Commented some of the main methods.
Added logging scaffolding.
Trying to implement intermittent logger - incomplete.