This run method simply invokes a named method in
the given target class.
try {
Object o = targetClass.newInstance();
Method m = targetClass.getMethod(methodName, new Class[0]);
m.invoke(o, new Object[0]);
} catch (Exception ex) {
System.err.println("Caught Exception: " + ex);
}