Adding changes that we were told to do from the in class exercise with the implementation of a factory method.