Harts integration

The harts integration didn't work, but this is where we got to on it.
Uploading in case we need to revert to this at some point.