Thread backend

Adds the backend code for accessing threads and comments urls and then parsing the resulting JSON