various changes

- translation to English for comments
- creation of class
- automatic open log file and folder at the end of the program
- fields encoding fixed in the case of non utf8 field name
- basic fixes
change folder name