Revert "create flash. need to create tests for flash to verify it's working"

Did not have chance to return to this project. Reverted to working functionality.

This reverts commit 4e885e2d77001315a1e32020959cd656fe3f5279.