Refactoring upload widget, updated docs