added gem sq3
using pg and thin