modified library to include argument parsing inside of netDevice, but initialization still in main