Refactor command line parsing to use https://commandline.codeplex.com/