refactored aws object storage to be more RESTful