initialized layout and IndexController