Event now receives api key and url from the constructor, passed by playlist from the app config.