Create MainEngine.cpp

MainEngine.cpp