Added comman line parameters parsing