CC-5800 : Merging File API into new media tables

filter main library by import state to only show successful files.