Added option parsing and --version flag
Merge pull request #1 from ManThursday/master

Added option parsing and --version flag