Refactor the InputTransformer class
Refactor the ResultTransformer class
Use attribute_set instead of attributes (deprecated)