Impl of release packages

Not touching unit tests in this patch. The new code has been
manually tested. The next patch should be a testonly patch
to validate the feature.