Re-implemented bankaccount client as restful client