main executable of MoGs