All callbacks wired up

Callbacks wired up and externs are shared with mesos in c-api.hpp