Cleanup txtools imports and extend rpcclient