Moved scanning broadcasts to own class