implemented file based JSON data storage (persistence) ($::PDATA), added
last directory retained.  closes #3 closes #4