add persist flag.
add purgeNonPersist method.
add logic to delete empty data pages.