addes license, closes #3.