added redditapiclient class