Changes made to get grp creation working

Changes made to enable group creation. Currently group is saved to the
ph db and not external db.