license under MPL2. Closes #23