Creation of MPC class