Moved code around a bit to make stuff easier to find
Replaced storage with Azure Document DB