Tidy up regex to extract version number and add entirely (un)necessary colour to make ouput.
More refactoring and convert main into only variable initialisations and a single function call.
Only commited new files/functions in dd2c94c558bb forgot modified ones.