add restore flow
improve extraction flow
bugfix
overall workflow

connect UI to logic