let's only inject the connection instead of the whole appbox to reduce circular refs