Refactor to a class.
Use single quotes.
Renamed files. Using extra entry point for elastic.io.