add programs api
Merge pull request #6 from masarakki/programs-api

add programs api