add class SaveCommand and example of using Command pattern