Fixed command parse logic to check the class of each argument passed in the array.
Added basic command line parameters.