Major Update.  Added save button.  Formatting corrected. Corrected index out of bounds problem with group class