rename node.type to node.kind
removed redundant path construction
improved file path handling, so that user and environment variables are extended by default. Also the ansible inventory file handling is improved.