Servlet now contains a timer (currently 3 seconds) for implementing the getting of json from the simulator