Started to develop sql interface