Added persistence to the http server