adds saving models to the server