extractingquestion components jsx into a separate file