Added functionality and tests for group objects, and an API for working with them in the PackPack app.