Initial rendering of main view