factory definition quizletwhat is factory