refactor: createNode + added logic for auto generating of required children, refs #35, refs #40.

This commit contents bug in generating correct xpath for second and more elements. Need to be rapaired. XPath for generated label and value differs!