Elasticsearch integration, and separation of Raw files and metadata/users persistence