update ios and osx frontends to use ef.gy's model factory