Resource discovery module from Erlang and OTP in Action book