refactor Main.java.
--disable-memo does not require extra argument
Merge pull request #8 from imasahiro/refactor_main

Refactor Main.java