Cleaned-up Upload module
Remove reinitialization of Database object
Remove unused import
Cleaned-up endpoint decorator class