before restructure webclient
restructering of client mainly done and functional