add functions to create and delete tables; use local dynamodb to test
fix ddb2 API compatibility issues