Extend main view controller