rename groupid and add cpp
fix start/stop instance