Update hpg to the latest version.
Add license and readme.