Added flash related writing/reading. Still needs more testing.