starting the work on the midi file reader and writer