Basic functionality server response

Shows up in console. can't get visualisation as yet.
Don't use me, declare it in the functions themselves to lower its scope.