WIP - adapting the service to the new threads_index