separated products display into model and view logic (home/index.php and inc/products.php)