page module refactoring
add sql dump of pages