API/Query: add courses to a program