General fleshing out.  Logging, proc, deps added testing needed.