Started chain-based messaging system refactor, all unit tests currently broken