Implemented storing/retrieving images to the filesystem.

Images now persist after the app is backgrounded.