refactor avahi module and rename from avahi-daemon to avahi