add API getnews getdirectory and all