add master.cpp file