Implemented TMan skeleton

Still need to implement rank, selectPeer and Merge.