Initial functional checkin of the controller

Note: This does not yet handle artifacts, nor the logs from the builder-core, as we don't yet have those interfaces exposed
I'm fine adding support for it, although I think that case is (fairly) rare.