[WIP] Group sharding & creation

Resolves #72,
Resolves #73 

This implements group sharding & group creation, as well as refactors the state/session handling for users and groups in general.