Created database schema in mongoose