Added license

Addes license and references to the original source code.