Beginning to text intput

Made a start to text input.