Refactory the IMessageExecutor and Congfiguration and IObjectContainer implementation.