Trying to build a simple but powerful API using Sinatra connected to Amazon's DynamoDB