Created student object, student factory, and the major enum.