WIP
Got started on the C api for plankton.