Added some sanity checks on group creation
- Check that group names are not already in use
- Check that group ports are not repeated