media curation apis broken into separate file & under new 'api' folder