Move Group things to ScriptMgr

Signed-off-by: Salja <salja8840@gmail.com>