Implement FFT class.
Implement BeatDetector Class.
Add BPM detection logic.