refactor the way comm notes/threads are created