Added documentation and removed dependency for Oscillator class