cache the config in the model so that the worker threads can use it
sql alchemy change
added token to dup detection -- when logged in you see more images