added six for better py2/3 support mixing and started refactoring for
elasticsearch inclusion