Add logging and implement WtaClient