Code to fetch list of groups from the online database.

Task #40