Initial API for SQL service
Merge pull request #223 from zml2008/feature/sql

Initial API for SQL service