relicensed from MIT to dual MIT/APL2. closes #2.