added replication example for postgresql
Removed tmp files