Added a couple of helper functions

setField - create/overwrite a fields definition
addSettings - merge in more settings to a fields definition