implement version list
some refactoring
Refactored from pattern matching to Option.map,

hopefully for slightly better readability.
Incremented minor version,

in order to indicate that the addition of the -l command line switch is a
new feature.