Init main view