tore mongo mapping and api apart, committing for sanity