Added example program. Revised main class loading. Added main args passing.