replace eventmachine with nyara-events