making data stores generic, adding visibilities param to data store config