First draft of cliargs code.
Added my own cliargs replacement. Yay.