refactored io/OUT to io/OUT_PATH for tlm's sake. Also wrote tlm training code