Basic saving server for the monni app

So the idea is that if you go to the server URL and make a GET or POST request like this:

http://localhost:8080/savetimespan?destination=www.google.com&time=1.4455

It should save it to a csv file for later analysis.

The saving does not work yet, anyone able to suggest a fix?