implement Page writer
close #45 : implement Page writer