added subnodes parser
extract listview creation as separate function

it needs for using the same function for listview and for subnodes