Add packaging system.
Merge branch 'misc' into repack/v5