changed models

1. added title/subject for groups, user & message along with ID
2. made to as an array
3. added async for client
4. moved grouping and group controller code to index and appPC