Create mainframe.cpp