Perl 'foundation' classes for general command line application development