More refactoring: make the method more flexible
Add product index page