refactored code for future class extending and linking to address_book.php file; links with filestore.php