Changed CarFactory to use static methods