added mongodb Note schema and API endpoints