migrate back to mongodb, add coments, refactor warehouse