Creating a tuner..... Begginer!

I think I understand the way fft works.. I need to read frecuencys from my guitar that are going to be between 1hz and 1kHz so I should use 2khz sample rate. Then I will get 2 arrays one from real number and another with the imaginary , I should do the module from both and get another array, and in this final array I need to look for the maximux(that is the amplitude)) and that maximun I have to divid by the sample number and multiply sample rate, and I have the frecuency of the sine that im looking for..

Am i Right? Or Am I completely lost ? haha

thanks!