added route and main view