19/accept host as list in config

PR for #19 
Talked with @claudiu-coman  and the conclusion is that we should accept host as a list only when a replicaSet is provided.