graphs are working

skeleton pluged to work
comunication is now in json