Refactoring to make indices updatable

* Clean up views into separate files
* Add an elasticsearch configuration capability
* Allow indices settings to be updated from config
* Move connection settings around
Merge pull request #12 from sharoonthomas/develop

Refactoring to make indices updatable