added engagement to API and added CSV output template