Added -v and --version

Moved contents of old main to start(), prints config.version if either -v or --version are provided as arguments