GBE-452: add commands etc for adding/deleting groups. Changed id of TerritoryDto to Long.