Added license. Fixed #164