added a t-res tools dir containing the tools to compile the scripts
added tres example (bin), moved commond stuff in common folder, removed unused stuff
new script name