Exposed the fan struct and sensor one globally

Define fans & sensors as global
Added function to set back fan control to manual
Set fan to automatic control on exit