Added model classes for JSON (de)serialization.
Updated GroupService class to use pooling per Andrey's suggestions.