renamed repository
modified prepareHeaders to handle uploads
renamed repository