Create thread model

Creating a model to contain an entire discussion. As it turns out, we can't use the class name Thread (it's reserved and I don't feel like namespacing the app yet), so I'm calling it a topic.