initial work; only epub indexing at the moment