Added upload functionality

its not working yet. Still wondering why integration is fucking shit up