No need to kill background jobs when script finishes.
Add preliminary setup script, and put library code into lmj namespace.
Update web ui.
Move "main" into scripts directory.
Move photos module into new directory.
Move main.sh script to development role.
Separate code from driver script into separate command modules.
Move code for importing into command module.