moved list_files method from get_bundle
moved download_files and register_agent APIs