Create main method of FreightNetwork.
More design on freight network class