added functionalities

code should now create process and start a socket server upon receiving
the response of the clock agent