Main default Layout

Updates of core class and index.php