Initial implementation of genius_query.rb