Add id counter and subgroups to Group
Add Database type to encrypt/decrypt root group