introduce config
migrate to a database - define models + config
migrate to a database - adjust web and worker
migrate to a database - kill leftovers