Added template generator for main.cpp file