We can now save a model

It saves the obj into a file, and the library in an other file.
It has been tested only with a model without a library.