Refactored code. Added PDF output of charts
Added CAF audio file export