moving sql editor into its own component type thing