Added discover.rb, contains discover and guess_initialize functions