Project Title: HomeWork

Renamed controllers, views and models
from Thread to Topic, Comment to Reply.
this part is repeated in L32 ~ L34. Perhaps you can move this as a helper function?