Added a download class, moved api key to a setting