My comment was not clear enough.
I was speaking of the about 25 lines needed:
* to setup the knownOpts
* to setup the shortHands
* to initialize nopt
* to display the help

I think that switching from 25 lines to 1 line per service make sense.