Reworked mtom sample to code config