Refactored Interface and Core Dynamodb class