Redid protocol between daemon and webservice to move all "business logic" into the webservice.