updated the categories
started to add the thread stuff
updated the base repository
reworked the api routes a little bit