Moved chat messages to api packages