refactoring -- move upload models to its own namespace