adding custom sql adapter, and example model file