refactored aws queue to be more RESTful