Started on code for saving results to internal storage.