added license. fixes issue #1