added topic controller and model