Added license. fixes #1