A generic package for capturing and validating user parameters