Add --version option and reorganize top-level scripts
Move arg parsing to separate file
Merge pull request #72 from google/version

Add --version option and reorganize top-level scripts