OpenFAST Supercontroller issue

Hi everybody,
I’d like to run a case on OpenFAST using the c++ api (by means of cDriver.i) to simulate a wind farm (2 turbines only for now), implementing also the supercontroller feature.
Looking in OpenFast folders I’ve seen that the supercontroller module exists, but I don’t know how to write the fortran(?) source code to create the .so library that I’m going to use in cDriver.i.
Moreover the supercontroller needs to talk to DISCON(bladed dll) of the various turbines, so I’ll have to modify and recompile it, too.
Could you give me any hints or an example file (if exists any) to run a simple simulation?
Thanks for the help!!