In order to be able to include the new facter gem we need to have a facter.rb file in the lib folder. bin/facter should only include facter.rb, and all the logic inside bin/facter should be moved to facter.rb