Made fields and a constructor and a readWaveFileFormat method
Added a testbench