Added all MongoDB queries, but they need reviewed.