added pg library
added pg library
edited readme