added main.c to c2py example to mimic controlloop setup main problems