creating the controller and model for product