major refactor to strip out all the unecessary aws dependencies