adding inputType outputType getters to AbstractMediator
overriding getinputType getOutputType methods in payload factory