add initial implemenation of tcollector.