Updated the code to no longer use the library.json file. Instead it loads the videos from the database and creates an in-memory object instead that gets converted to json.