Added support for iPad orientation changes
Switching to MVC