added TM system files, added TM support by modifying zsim.cpp, zsim.h, init.cpp
[TM] bugfixes, cleanup