Added groups and basic tests. No frontend yet.