Update upload.pl

Added strict compliant naming - inserted namespaces for modules etc.