Add category factoy and cntroller