create netparser
use netparser
fix bugs in read_net