Index with seeds

This is an open pull request to discuss meznah's proposed changes.