Refactoring - pulled TopicsController into separate file