Added draft of option parsing