Create maintest.cpp