Add license information and minor documentation