Added autoload header and footer for views