Add MainViewController and integrated it into AppDelegate