add persistent layer

do not use dirty.js , use pure json format. aem files are small,
re-sort and write again for better view on Github