removed history logic from framework, use web mode and app mode navigate it. almost done