Added ErrorHandler class
Added validator to validate required command-line params