Use new configuration pattern

Also support more than 1 seed ES server.
fix tests