Refactor decoder instantiation

Implements factory pattern for decoders. Replaces copy/paste
code in Gisconverter with factory method calls.