Add basic save mechanism