added command line parameters handling.
added
added
added