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
Yeah, it wasn't working, so I tried this. I'll see if I change it though.