fixed package file
fixed using tmp creator
slight refactorings
refactorings to make compilations of files correctly