Updated project to work with iOS 8 and XCODE 6