Added REST endpoints for categories and questions