changed ignore rules
removed main.hpp for samples
splitted cmake generating process
changed environment variables
added set_file method
added default constructor
code cleanup