Retrieve site location from conf instead of hardcoding it for style fixes
Deleted unused functions in Upload class
More code cleanup, deleting unused and duplicate functions