Added main, trex, and wt directories