[MODULES-136] Move JAXP initialization into main method