Implemented RESTful methods and views for Products controller.