scraped daemon from prototype, left only rest api