Basic file uploading

Basic file upload (path stored in the DB), email registration confirmation, and some template modifications.
Just so I understand, what's the delineation of responsibilities between env.sh and this configuration class? Which variables end up in which place?