add support for findbydevice object in Forum model
add Thread model