Created Topic and Post models with relationships