reworked snapshot mechanism

still not what it should be. missing is handling of package sets.