decouples leveldb from server, fixes bug where log is stringified before testing the level
updates readme