Move pq import to db package