move code to create, append node element to separate module
move function for working with person node to a separate module