Zoom button is not necessary - Flip will zoom
Moved template.php to view directory
Created views in php for different pages
Applied the views