moved Stage and lights to core, tidied api