Added app class. Added save and load particle data functions