made post comment API
added index file to get items through the api