create product controller
Create an action controller that enable to toggle availability of one product
create route and index template for displaying the list of products
create the form for toggling product availability on the index template, displaying an image of the product before its title and update the form on the index templateto add new products
template and routes for presenting our products to users
create two helpers to display on the page 'Out of Stock' or 'In stock', first in red color second in green depending on value of availability 1 or 0 respectively
display the details of one product