From Gauge Theory to Khovanov Homology Via Floer Theory