Change message_router to run as a registered process