Adding dynamodb and redis for persistence. Not tested or run yet, but compiles.