[docker-io/f21] split out the ./pkg/ libraries