Added delete function to the engine and storage