Merge pull request #24 from p1tz/master

merge
Merge pull request #25 from p1tz/master

merge
added new function to get acces to empty index
use niofsdirectory for better performance