added index and show in controller, and created rest
Merge pull request #3 from NathanChalot/AddingShowNIndexToGroups

added index and show in controller, and created rest