initial add of main.cpp