add a code style and the MoGS_Optimization