Fixed issue with showing that socketio is started.
Added method name to the function. Which will be used later on.
Implemented the base of a mongodb adapter.