Added persistence

I am not actually sure if you want to add this to your code as the changed might be taking this project beyond what you have originally intended for it. What I have done is added a very simple persistence for POST requests as well as getting the lists of objects.

Thanks :)