Final addition of v1.1 library.

Also, replaced some calls that were deprecated in iOS 6