Fixed issue #5 and websocket implementation in general
Adding mapdb dep to make compilation work.