Upload handling and Code optimization

- Oneuploader configurations
- Some code optimizations