added pg module
Merge branch 'local'