Refactoring api file/image uploads

New file/image uploads through the api will be structured.
new format: /uploads/{type}/{date}/{user}/{filename}_${hash}/{file_extension}
old format: /{hash}.{file_extension}