Tools and library to control and monitor control groups