separating model in model.rb