added master & slave db configuration example