added hostlist.rb and minor changes to enumeration