Removed a bunch of spurious files.
Added MongoDB support.