add API stuff covering app CRUDing and downloading. still need search and comments