Removed 500MB java command line argument.
Made main's arguments configurable to be command-line or not.