Refactor project to be a more generic webview project