Started work on higher level API for plotd