translated the direct tfs db query to use proper Tfs Api calls

relies on https://github.com/ImaginaryDevelopment/fsinteractive for getting the reference to tfs