Move to pkg format
Add a license