Create minegressmain

The base class for minegress