cleanup a little bit
connections refactored
refactored requests
some fixes
uploading api cleaned up