add command lib with few modifications, to support sudo calls to o/s
update to common error messaging method
add validations
update routes to support form submition and back key