A simple feature switching framework