Refactor crud calls to mongoose