reimplemented of how the application retrieves and stores data
refactored retrieving data. now the application returns the string instead of saving the result into file
refactored retrieving data. now the application returns the string instead of saving the result into file