Add getGroup
Remove a redundunt import
Reorder some code
Add missing types and Aeson instances