web client as an instantiable class
fixed web client index