Refactoring. Rename handlers to tranformers. Add transformer(and tests) for simple types