Added output for the --version option, refactored copyright statements to avoid duplication