Add flash writer proposal.
Simplify flash_writer API.
Merge pull request #11 from nuft/flash_writer_proposal

Flash writer proposal