creation of main.cpp and of the general header