This change removes almost all dependencies from rpc/client to the rest of the project. The last ones would be utilities like helper, converters, etc.