Basic draft for the API