Added the iOS implementation of AMEngine(Mercury)