Added BitmapSpectrum class to cache drawings