create store controller and setting whole layout.