Feature/picardapi

A rough implementation of the Picard API. Incomplete, however still in progress.