Added code to the comment class and the discussion thread class that contains an array list.
Added ThreadControllerInterface and ThreadController class.