Rearranged structure for data processing. Button to save now works, now either start on JS or work on saving data to disk.