added database cookbook
pg master-slave setup