Smarty lib; mainView.php main view, parent for all views, managing Smarty object instance and final display of pages; viewPage.php view for simple pages; page.index.tpl main tpl file for simple pages;