Git fork of the original MPL 1.1 code of Xerela https://code.google.com/p/xerela/ (with fixes)