Make every operation as an action, and divide an action into serveral atom task, this make sure that every operation could be correctly executed. Change-Id: I99ad1400936dc7236b7c55bcf67239dedbca0f48