Use getters and setters instead of ivars directly
Removed shouldAutorotate since it never gets called and is only available on iOS 6 and above
Removed unnecessary files