add some constant definitions ...
add some more colors
move textfield creation from boilerplate to function