public void Listen(IPAddress ipAddress, int port)
 {
     Console.WriteLine("Initializing...");
     SetExecuteMethod();
     Console.WriteLine("Registering available requests...");
     RegisterRequests();
     Console.WriteLine("Waiting for connection..");
     transportLayer.Listen(ipAddress, port, OnClientConnected, OnDataReceived, OnErrorOccured);
 }