Extracting the InputText widget.

- binding events instead of logic
- applying new styles