Inchoate version with partially working example client app.