wrapping command line parameter parsing into its own class