New function "clear"

added in executor and storage.