Moved FreeTrack dependent code to seperate class

This will allow the code to support both FreeTrack and TrackIR without the
code erroring due to one of the two missing.