Add TextBox class and method