change init. Add socket.io. Add hooks beforeListen and afterListen. Add  in injector
merge