separeated mongoose model code