added Node object to store more info, simply command line argument handling