Java: Launch/shutdown of processor, storing/loading of data