Cm & Postgres automation

Updates to include:

* cm automation
* postgres deployment
* postgres database creation
* postgres user & database permissions