First step to my advanced GMPC plugin