added mongo_mapper and foundation