Started adding the API