Some import cleanups + docs
Migrated over to new approach to call tasks and inform session.
Using new task based accessor on session.
Major rework of command interface + cleanups + docs