refactor container c setting, process creation.