add PostgreSQL publisher and app template