Added persistence to the application