added title and app of chat
reorganized files to simplify