overhauled command line options and nc handling

also added new options and added some test data