use embedded elasticsearch plugin to index files
create index on startup
simplified views
removed code