Add bit of logging
Upload almost working
Add working upload