Started working on CLI parsing function