store controller and main page view