Update for pkg system and add a license