Added wtml functionality and tests
Updated to use the wtml npm module.