Move package network to library