Create Tbs.php

move Tbs.php to libraries directory