Debugging CompCreator

Removing some bugs:
* atom definition were not saved
* file name was not stored into study in all cases