move MessageBuilder from platform to plugin