First working version of the tuner.