API was hard coded, now uses key provided in settings