Updated fft code and add second Redis db