Added license. Fixed #1