Progress on API and callbacks.

Now tox_do and the like are needed to complete simple chat functionality