added license headers, fixes #1