[TASK] refactor converters

- move converting logic to appropriate classes
- rename rest_to_lib_transaction_converter to rest-to-tx-converter
- refactor method signatures and working to be consistent
- add unit tests for converters