Topic/instance switcher

This provides an instance switching mechanism for the generic iOS application.