Clean up arrays not used, updated arrays to latest notation and changed the support to iOS 7.1