Added license. Closes #1