Added README and complete rewrite of the loop to add listeners