Implement main view