Fixed generating the products controller and views
Refactoring the products controller to respond to JSON