added dependency graph plugin
send enpty messages as a way to ping clients
send messages as Json objects to be able to send multiple types of messages through websockets