Fixed file uploader

I redid the manner in which the files are upload.  Instead of using the
uploaded php file in the views, I created an improved version in the
controller directory