Implemented parameters class + parse and validate command-line parameters.