Add a function to generate save() for all models

And use it in user and flashmob models