Stripped out all program code from Main.java. Added new MSMInstance.java to handle all top-level MSM calls.