huge change - ios plugin and lots of old code removal