webview handling in separate class