Initial changes to use new session model (no "adding" of apps). Still more work to be done version 2.x.