refactor code + nodeunit test cases + contribiution doc
Merge https://github.com/arvindr21/diskDB