Adding another constructor for all the Field classes and moving the
getType() values to a new class FieldTypeFactory