added state logic to ft_controller which now instantiates the ipcore fft. Needs thorough simulation and testing