Added custom root view controller to main window.

Also added .gitignore file and the app now only supports portrait
orientation.