Reworked Library to allow core selection.