add license, fixes issue #1