diff --git a/web/app/3d/dom/WebApplication.jsx b/web/app/3d/dom/WebApplication.jsx
new file mode 100644
index 00000000..40d6827f
--- /dev/null
+++ b/web/app/3d/dom/WebApplication.jsx
@@ -0,0 +1,27 @@
+import React, {Fragment} from 'react';
+
+export default class WebApplication extends React.Component {
+
+ render() {
+ return
+
+
+
+
+ }
+}
\ No newline at end of file
diff --git a/web/app/3d/domPlugin.js b/web/app/3d/dom/domPlugin.js
similarity index 100%
rename from web/app/3d/domPlugin.js
rename to web/app/3d/dom/domPlugin.js
index 463cb9ff..4fed287a 100644
--- a/web/app/3d/domPlugin.js
+++ b/web/app/3d/dom/domPlugin.js
@@ -1,6 +1,6 @@
-
export function activate(context) {
context.services.dom = {
viewerContainer: document.getElementById('viewer-container')
};
}
+
diff --git a/web/app/3d/dom/startReact.js b/web/app/3d/dom/startReact.js
new file mode 100644
index 00000000..f379893f
--- /dev/null
+++ b/web/app/3d/dom/startReact.js
@@ -0,0 +1,11 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import WebApplication from './WebApplication';
+
+export default function startReact(callback) {
+ return ReactDOM.render(
+ ,
+ document.getElementById('app'),
+ callback
+ );
+}
\ No newline at end of file
diff --git a/web/app/3d/plugins.js b/web/app/3d/plugins.js
index 99e4440d..4b8ae458 100644
--- a/web/app/3d/plugins.js
+++ b/web/app/3d/plugins.js
@@ -1,4 +1,4 @@
-import * as DomPlugin from './domPlugin';
+import * as DomPlugin from './dom/domPlugin';
import * as PickControlPlugin from './scene/controls/pickControlPlugin';
import * as ScenePlugin from './scene/scenePlugin';
import * as SelectionMarkerPlugin from './scene/selectionMarker/selectionMarkerPlugin';
diff --git a/web/app/index.js b/web/app/index.js
index 41e82243..16d30e60 100644
--- a/web/app/index.js
+++ b/web/app/index.js
@@ -1,6 +1,7 @@
//import './utils/jqueryfy'
import App from './3d/modeler-app'
+import startReact from './3d/dom/startReact';
-window.onload = function() {
+startReact(() =>{
window._TCAD_APP = new App();
-};
+});
diff --git a/web/index.html b/web/index.html
index 4543ceed..f3a7a1a2 100644
--- a/web/index.html
+++ b/web/index.html
@@ -14,23 +14,9 @@
-
-
-
-
-
+
+