update to latest versions
dependency scope
externalize elasticsearch configuration
some generics
some more generics
fix generics
Merge pull request #2 from obourgain/master

code improvments and fix issues on generics