Use AWS sdk instead of dynamodb

Also revved on AWS and factored things in a way which facilitates unit testing more.