Unify validation procedure for both start_clive_cli and start_cli.
Each script has it own validations that needs to be called. Validation function has been moved to function validation, that will be called from main funciton defined in base.sh.template file.