switcher impl;
state model added;
restoring from url added;
logic to parent controller moved from workspace-controller;