add command line parameters parser for Java