strip master down to manual init and legacy api