update to dappSamples use history controller and other cleanup and new samples.