Rtv3 - Elasticsearch integration phase 1

These are some commits needed to get elastic search