Added some frameworks I was missing. Somehow I lost my base64Encoding method on NSData, so I grabbed a replacement.