made schemas and mongodb sample