Rearranged classes structure, added scrolling to chat window