Create a main view controller