Use pyramid_kvs for the session management
Refactor indexed usage
Improve data interfaces
Improve index interfaces