Update upload code
Update tags generation code
Moved functions into a class