Restructured source tree, rewrote make rules, added tntnet.xml.in