def getDuplicates():
    return ThreadHandler().getAllDuplicateThreads()
def createThread():
    return ThreadHandler().createThread(request.json)
def getSpecificItemThread(ID):
    return ThreadHandler().getSpecificItemThread(ID)
def getItemWithRelatedCategories(ID):
    return ThreadHandler().getItemWithRelatedCategories(ID)
def getContentAndUsernameFromCommentsOnSpecificThread(ID):
    return ThreadHandler().getContentAndUsernameFromCommentsOnSpecificThread(
        ID)
def getThreadCount(ID):
    return ThreadHandler().getThreadCount(ID)
def getCategories(ThreadString):
    return ThreadHandler().getThreadsBy(ThreadString)
def getThreadByID(threadID):
    return ThreadHandler().getThreadByID(threadID)
def getAllThreads():
    return ThreadHandler().getAllThreads()