[pgb] initial commit of pgb integration