Factoring Library class, step 2: first try parsing library metadata