Refactored _installLibrary() and renderPostInstallation()