changed some spellings and updated validation_doc
add views/all for help with debugging
tidy
add validation constraint