A small start on a api.