made SimpleQL a trait rather than a class.