add API to list programs