extract cli from ttt

added a cli interface inside of another namespace