Work with cmd arguments

created draft method to parse cmd arguments