add libraries and items