Added logic to print version with flag in main. Updated readme