added :through for fact_name.rb and added Foreman::STI on base.rb