Implemented loadView.