Create mf.cpp

Main form source code.