Refactor mongoose out
Update package