Converter: add type parameters

Added generic parameters for input and output types of the Covnerter
class. The return values for getInput and getOutput type methods have
been updated appropriately.