Reduce solution version

Change: reduce solution version from 2012 to 2010.
Change: refactor command-line parsing.