Shift replication message processing to use a visitor pattern to break decoded messages from actions taken.
Move replication messages into message-api module.