implemented API to talk to drawbot