Basic file uploading

Basic file upload (path stored in the DB), email registration confirmation, and some template modifications.
Good question. It's not very clear here, is it? I placed stuff in env.sh that I thought would change from machine to machine. Hardcoded values should apply across any machine. Suggestions welcome.