init commit for wem.py
removed domain-specific code irrelevant to wem engine
init commit for test.py
moved test code to separate file