Complete dividing into templates. Full main page