Made it possible to download at indexpage

Also added UploadDownloadController in the proces and fixed some little
bugs.