Created and refactored community categories and topics controllers.