Skelaton Work of a chat application