Styles for input control, adding better validation API
merge
cleanup and fix tests
merge