Started adding support for indexes in find operations.Not functional yet.