Have uploads use a model
Rename a variable
Remove unnecessary html