Create categories resource and controller file