modified file paths, added shared files, chat now uses message types