Grenache::Base.configure do |conf|
conf.grape_address = "ws://10.0.0.1:30002"
end
c = Grenache::Base.new
c.announce("test",30000) do |response|
#service code
puts "announce sent: #{response}"
end
c.lookup('test') do |response|
puts "services: #{response[1]}"
end