refactoring: read page functions moved to db_page_reader.c