slight fixes and style differences 

- there was an issue where we start all our filenames 
   with a "/" it messes with the url that we send to 
   aws.  put fixes in every function to fix this 
- slight fixes to make code neater and more compact
spacing change