Move netparams to own file