creating framework to bring chats online