add basic main.cpp with a few comments