Add cloud code for creating default groups

We add a 'root' and a 'guest' group.
Remove some dead cloud code