Factor common code into a library.
Added script to label assets.
Document label-asset script.