Refactor structure

Hey Seb, this is more complicated than I need (I don't want override capabilities or an interface to modify switches), so I've decided to just implement a subset of the features here within MAPI. Thought I'd commit my code if it's useful for you though. This is the refactor we spoke about and a trait for interfacing with DynamoDB. It's pretty much untested so use at your peril, but it probably a good start for what you want to do.

Cheers,
Rob