Use thin and postgres