Added RAMDirectory for memory based index
Merge pull request #1 from smschauhan/patch-1

Added RAMDirectory for memory based index