Add src directory and main.cpp.