would like to use thin as web server
improve SQL calls