Use better names for variables related to storage
Implement image extractor and output, fix bugs