Added license. Fixes #1