MANY updates, fixed build script so that DOMtra can be exported as a standalone module