move cgroup support into a submodule