created a new class named AddressDataStore to handle reading and writing to the CSV file.
Updated the code to instantiate this class and use it to read and write addresses.