Add the basic function

Save datasource, show latest history