Created main view