refactor and debug. Wire wqx_mappings into pywqp_client