Move Tee class to utils