Make in memory switch threadsafe
Add DynamoDB feature switching