Create main.cpp

basic framework