Refactor the adding question to catagory code to the catagory model