Have All Calls to Backend Go Through `backend.py`

Better abstraction will make it easier later to, e.g., support a REST
API.