Initial integrator.

* Needs 3D viewer for "visual debug"