Implemented saving a new model