Stop using command line arguments. Use system properties instead.
Remove main method.
Organize invoker method.