Added iOS SDK and server code