Refactor code, "page_buf" moved into KFileFlashAvr struct