more groupchat API work
refactor redundant Gr_Chats structure and implement callbacks