added constructors to topic and comment models