Create Util class to perform common validation on params passed