Minor fix to tbs.py
Initial commit of mt_tbs.py

It is not fully functional yet.