Added setLibraryProperties and addLibraryToQuickLaunch methods. Global refactoring