Remove postgresql library for now as it is not used
Implemented sample code using queues