Feature heroku deployment

- refactored recovering of upload to google drive functionality
- closes session after 'Send Files' is clicked
- fixes issue with archiving
- changed some things to run on heroku