Added TCS logger & test code