change code

change main and cgroups