First working prototype. Chats are not saved yet.