Added articles api

added the articles api to return hal and json